package com.entor.springboot201912.service;

import com.entor.springboot201912.dao.StudentDaoI;
import com.entor.springboot201912.model.Student;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class StudentService implements StudentServiceI {
    @Autowired
    private StudentDaoI sdi;
    @Override
    public List<Student> find(Student s) {

        return sdi.find(s);
    }
}
